#include <regx52.h>
#include "Delay.h"
#include "UART.h"
unsigned char Byte = 0;
void main()
{
	UART_Init();
	while(1)
	{
		
	}
}

void UART_Routine(void)		interrupt 4
{
	if(RI == 1)
	{
		P2 = ~SBUF;
		RI = 0;
		UART_SendByte(SBUF);//C语言的赋值运算自右向左结合，所以这里调用函数是写SBUF
	}
}
